package api

import "image/color"

//图像大小
type ImageCode struct {
	Size  ImageSize
	Color ImageColor
}

type ImageSize struct {
	Height int
	Width  int
}

type ImageColor struct {
	Background color.Color
	Foreground color.Color
}

//CodeCreator 创建器
type CodeCreator interface {
	Create(savePath, code string, img ImageCode) error
}
